package com.itheima.idea;

public class TestStudent2 {
    public static void main(String[] args) {
        Student2 stu = new Student2();
        System.out.println("sut的地址"+stu);
        stu.setName("老徐");
        stu.setAge(22);
        stu.show();
        System.out.println("------------");

        Student2 stu1 = new Student2();
        System.out.println("sut的地址"+stu1);
        stu1.setName("老张");
        stu1.setAge(22);
        stu1.show();




    }




}

